package com.xuce.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuce.pojo.TUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 徐策
 * @date 2020/3/15 15:20
 */
@Mapper
public interface AdminMapper extends BaseMapper<TUser> {
    //动态查询用户是否存在
    TUser findLoginUser(TUser user);

    //动态查询用户是否存在
    TUser selectByUsername(String username,String password);
}
